package com.youzi.blue.server.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_log")
public class Log implements Serializable {
    @TableId(value = "id")
    private String id;
    /**
     * 日志内容
     */
    private String content;
    /**
     * 设备id/用户名
     */
    private String username;
    /**
     * 创建时间
     */
    LocalDateTime createTime;
}
